import { ref } from 'vue';
<template>
  <div>{{ message }}</div>
</template>

<script setup>
import { ref } from "vue";
const message = ref("床前明月光");
setTimeout(() => {
  message.value = "疑是地上霜";
}, 2000);
</script>

<style lang="css" scoped></style>
